package com.example.demo.utils;

import java.util.UUID;

/**
 * 生成sqlserver所需的UUID，用于初始化
 * Created by rex on 2017/6/13.
 */
public class UUIDGenerator {
    public static String getUUID() {
        return UUID.randomUUID().toString();
    }

    public static void main(String[] args) {
        System.out.println(UUIDGenerator.getUUID());
    }
}
